/*
 * @Author: mhb
 * @Date: 2021-11-23 11:08:06
 * @LastEditTime: 2021-12-02 15:28:43
 * @LastEditors: Please set LastEditors
 * @Description: 工会模块路由
 * @FilePath: \cscec-pms-admin-3\src\config\routers\union.js
 */
import { RouteView } from '@/layouts'

export default {
    path: '/union',
    component: RouteView,
    redirect: '/union/organizationManagement/organizationalStructure',
    name: 'Union',
    meta: {
        title: '工会',
        icon: 'user',
        hideHeader: true,
        permission: ['user']
    },
    children: [
        {
            path: 'organizationManagement',
            component: RouteView,
            redirect: '/union/organizationManagement/organizationalStructure',
            name: 'organizationManagement',
            meta: {
                title: '组织管理'
            },
            children: [
                {
                    path: '/union/organizationManagement/organizationalStructure',
                    component: () => import('@/views/union/organizationManagement/organizationalStructure'),
                    name: '/union/organizationManagement/organizationalStructure',
                    meta: {
                        title: '组织架构'
                    }
                },
                {
                    path: '/union/organizationManagement/organizationalStructure/updateOrganizationalStructure',
                    component: () =>
                        import('@/views/union/organizationManagement/organizationalStructure/updateOrganizationalStructure'),
                    name: '/union/organizationManagement/organizationalStructure/updateOrganizationalStructure',
                    meta: {
                        title: '组织架构新增',
                        noTab: true
                    }
                },
                {
                    path: '/union/organizationManagement/vipManagement',
                    component: () => import('@/views/union/organizationManagement/vipManagement'),
                    name: '/union/organizationManagement/vipManagement',
                    meta: {
                        title: '会员管理'
                    }
                },
                {
                    path: '/union/organizationManagement/vipManagement/updateVipManagement',
                    component: () => import('@/views/union/organizationManagement/vipManagement/updateVipManagement'),
                    name: '/union/organizationManagement/vipManagement/updateVipManagement',
                    meta: {
                        title: '会员管理编辑',
                        noTab: true
                    }
                }
            ]
        },
        {
            path: 'culturalActivities',
            component: RouteView,
            redirect: '/union/culturalActivities/workerHouse',
            name: 'culturalActivities',
            meta: {
                title: '文化活动阵地'
            },
            children: [
                {
                    path: '/union/culturalActivities/workerHouse',
                    component: () => import('@/views/union/culturalActivities/workerHouse'),
                    name: '/union/culturalActivities/workerHouse',
                    meta: {
                        title: '职工书屋'
                    }
                },
                {
                    path: '/union/culturalActivities/workerHouse/updateWorkHouse',
                    component: () => import('@/views/union/culturalActivities/workerHouse/updateWorkHouse'),
                    name: '/union/culturalActivities/workerHouse/updateWorkHouse',
                    meta: {
                        title: '职工书屋新增',
                        noTab: true
                    }
                },
                {
                    path: '/union/culturalActivities/recreationalActivity',
                    component: () => import('@/views/union/culturalActivities/recreationalActivity'),
                    name: '/union/culturalActivities/recreationalActivity',
                    meta: {
                        title: '文体活动'
                    }
                },
                {
                    path: '/union/culturalActivities/recreationalActivity/updateRecreationalActivity',
                    component: () =>
                        import('@/views/union/culturalActivities/recreationalActivity/updateRecreationalActivity'),
                    name: '/union/culturalActivities/recreationalActivity/updateRecreationalActivity',
                    meta: {
                        title: '文体活动新增',
                        noTab: true
                    }
                }
            ]
        },
        {
            path: 'yiShiSanSai',
            component: RouteView,
            redirect: '/union/yiShiSanSai/sanSaiActivityLog/index',
            name: 'yiShiSanSai',
            meta: {
                title: '一室三赛'
            },
            children: [
                {
                    path: 'innovation/index',
                    component: () => import('@/views/union/yiShiSanSai/innovation/index'),
                    name: 'innovationIndex',
                    meta: {
                        title: '创新工作室'
                    }
                },
                {
                    path: 'innovation/add',
                    component: () => import('@/views/union/yiShiSanSai/innovation/add'),
                    name: 'innovationAdd',
                    meta: {
                        title: '创新工作室',
                        noTab: true
                    }
                },
                {
                    path: 'sanSaiActivityLog/index',
                    component: () => import('@/views/union/yiShiSanSai/sanSaiActivityLog/index'),
                    name: 'sanSaiActivityLogIndex',
                    meta: {
                        title: '三赛活动记录'
                    }
                },
                {
                    path: 'sanSaiActivityLog/add',
                    component: () => import('@/views/union/yiShiSanSai/sanSaiActivityLog/add'),
                    name: 'sanSaiActivityLogAdd',
                    meta: {
                        title: '三赛活动记录',
                        noTab: true
                    }
                }
            ]
        },
        {
            path: 'staffEducation',
            component: RouteView,
            redirect: '/union/staffEducation/staffEducation/index',
            name: 'staffEducation',
            meta: {
                title: '职工教育'
            },
            children: [
                {
                    path: 'staffEducation/index',
                    component: () => import('@/views/union/staffEducation/staffEducation/index'),
                    name: 'staffEducationIndex',
                    meta: {
                        title: '职工教育'
                    }
                },
                {
                    path: 'staffEducation/add',
                    component: () => import('@/views/union/staffEducation/staffEducation/add'),
                    name: 'staffEducationAdd',
                    meta: {
                        title: '职工教育',
                        noTab: true
                    }
                }
            ]
        },
        {
            path: 'jiaGuoFengCai',
            component: RouteView,
            redirect: '/union/jiaGuoFengCai/activityLog/index',
            name: 'jiaGuoFengCai',
            meta: {
                title: '巾帼风采'
            },
            children: [
                {
                    path: 'activityLog/index',
                    component: () => import('@/views/union/jiaGuoFengCai/activityLog/index'),
                    name: 'jiaGuoFengCaiIndex',
                    meta: {
                        title: '活动记录'
                    }
                },
                {
                    path: 'activityLog/add',
                    component: () => import('@/views/union/jiaGuoFengCai/activityLog/add'),
                    name: 'jiaGuoFengCaiAdd',
                    meta: {
                        title: '活动记录',
                        noTab: true
                    }
                }
            ]
        },
        {
            path: 'employeeCare',
            component: RouteView,
            redirect: '/union/employeeCare/careActivityInformation/index',
            name: 'employeeCare',
            meta: {
                title: '员工关怀'
            },
            children: [
                {
                    path: 'careActivityInformation/index',
                    component: () => import('@/views/union/employeeCare/careActivityInformation/index'),
                    name: 'careActivityInformationIndex',
                    meta: {
                        title: '关爱活动信息'
                    }
                },
                {
                    path: 'careActivityInformation/add',
                    component: () => import('@/views/union/employeeCare/careActivityInformation/add'),
                    name: 'careActivityInformationAdd',
                    meta: {
                        title: '关爱活动信息',
                        noTab: true
                    }
                },
                {
                    path: 'difficultiesEmployeesApply/index',
                    component: () => import('@/views/union/employeeCare/difficultiesEmployeesApply/index'),
                    name: 'difficultiesEmployeesApplyIndex',
                    meta: {
                        title: '困难职工申请'
                    }
                },
                {
                    path: 'difficultiesEmployeesApply/add',
                    component: () => import('@/views/union/employeeCare/difficultiesEmployeesApply/add'),
                    name: 'difficultiesEmployeesApplyAdd',
                    meta: {
                        title: '困难职工申请',
                        noTab: true
                    }
                },
                {
                    path: 'difficultiesEmployeesList/index',
                    component: () => import('@/views/union/employeeCare/difficultiesEmployeesList/index'),
                    name: 'difficultiesEmployeesListIndex',
                    meta: {
                        title: '困难职工列表'
                    }
                },
                {
                    path: 'HelpActivitiesLog/index',
                    component: () => import('@/views/union/employeeCare/HelpActivitiesLog/index'),
                    name: 'HelpActivitiesLogIndex',
                    meta: {
                        title: '帮扶活动记录'
                    }
                },
                {
                    path: 'HelpActivitiesLog/add',
                    component: () => import('@/views/union/employeeCare/HelpActivitiesLog/add'),
                    name: 'HelpActivitiesLogAdd',
                    meta: {
                        title: '帮扶活动记录',
                        noTab: true
                    }
                }
            ]
        },
        {
            path: '/union/democracy',
            component: RouteView,
            redirect: '/union/democracy/workersCongress',
            name: '/union/democracy',
            meta: {
                title: '民主管理'
            },
            children: [
                {
                    path: '/union/democracy/workersCongress',
                    component: () => import('@/views/union/democracy/workersCongress/index'),
                    name: '/union/democracy/workersCongress',
                    meta: {
                        title: '职工代表大会'
                    }
                },
                {
                    path: '/union/democracy/workersCongressEdit',
                    component: () => import('@/views/union/democracy/workersCongress/workersCongressEdit'),
                    name: '/union/democracy/workersCongressEdit',
                    meta: {
                        title: '职工代表大会详情',
                        noTab: true
                    }
                },
                {
                    path: '/union/democracy/staffRationalizationSuggestions',
                    component: () => import('@/views/union/democracy/staffRationalizationSuggestions/index'),
                    name: '/union/democracy/staffRationalizationSuggestions',
                    meta: {
                        title: '职工合理化建议'
                    }
                },
                {
                    path: '/union/democracy/staffRationalizationSuggestionsEdit',
                    component: () =>
                        import('@/views/union/democracy/staffRationalizationSuggestions/staffRationalizationSuggestionsEdit'),
                    name: '/union/democracy/staffRationalizationSuggestionsEdit',
                    meta: {
                        title: '职工合理化建议详情',
                        noTab: true
                    }
                },
                {
                    path: '/union/democracy/employeeSuggestionResponse',
                    component: () => import('@/views/union/democracy/employeeSuggestionResponse/index'),
                    name: '/union/democracy/employeeSuggestionResponse',
                    meta: {
                        title: '职工建议回复'
                    }
                },
                {
                    path: '/union/democracy/employeeSuggestionResponseEdit',
                    component: () =>
                        import('@/views/union/democracy/employeeSuggestionResponse/employeeSuggestionResponseEdit'),
                    name: '/union/democracy/employeeSuggestionResponseEdit',
                    meta: {
                        title: '职工建议回复详情',
                        noTab: true
                    }
                },
                {
                    path: '/union/democracy/corporateAffairsOpen',
                    component: () => import('@/views/union/democracy/corporateAffairsOpen/index'),
                    name: '/union/democracy/corporateAffairsOpen',
                    meta: {
                        title: '企务公开'
                    }
                },
                {
                    path: '/union/democracy/corporateAffairsOpenEdit',
                    component: () => import('@/views/union/democracy/corporateAffairsOpen/corporateAffairsOpenEdit'),
                    name: '/union/democracy/corporateAffairsOpenEdit',
                    meta: {
                        title: '企务公开详情',
                        noTab: true
                    }
                }
            ]
        },
        {
            path: '/union/bestHonor',
            component: RouteView,
            redirect: '/union/bestHonor/honorRecord',
            name: '/union/bestHonor',
            meta: {
                title: '创先争优'
            },
            children: [
                {
                    path: '/union/bestHonor/honorRecord',
                    component: () => import('@/views/union/bestHonor/honorRecord/index'),
                    name: '/union/bestHonor/honorRecord',
                    meta: {
                        title: '荣誉记录'
                    }
                },
                {
                    path: '/union/bestHonor/honorRecordEdit',
                    component: () => import('@/views/union/bestHonor/honorRecord/honorRecordEdit'),
                    name: '/union/bestHonor/honorRecordEdit',
                    meta: {
                        title: '荣誉记录详情',
                        noTab: true
                    }
                }
            ]
        },
        {
            path: '/union/workerProtection',
            component: RouteView,
            redirect: '/union/workerProtection/report',
            name: '/union/workerProtection',
            meta: {
                title: '职工维权'
            },
            children: [
                {
                    path: '/union/workerProtection/report',
                    component: () => import('@/views/union/workerProtection/report/index'),
                    name: '/union/workerProtection/report',
                    meta: {
                        title: '职工维权上报'
                    }
                },
                {
                    path: '/union/workerProtection/reportEdit',
                    component: () => import('@/views/union/workerProtection/report/reportEdit'),
                    name: '/union/workerProtection/reportEdit',
                    meta: {
                        title: '职工维权上报详情',
                        noTab: true
                    }
                },
                {
                    path: '/union/workerProtection/reply',
                    component: () => import('@/views/union/workerProtection/reply/index'),
                    name: '/union/workerProtection/reply',
                    meta: {
                        title: '职工维权回复'
                    }
                },
                {
                    path: '/union/workerProtection/replyEdit',
                    component: () => import('@/views/union/workerProtection/reply/replyEdit'),
                    name: '/union/workerProtection/replyEdit',
                    meta: {
                        title: '职工维权回复详情',
                        noTab: true
                    }
                }
            ]
        }
    ]
}




